const marked = require('marked')

module.exports = source => {
    const html = marked.parse(source);
    // html = `const p = document.createElement('p'); \
    //         p.innerHTML = "${html}";\
    //         document.body.append(p);`;
    // const code = `module.exports = ${JSON.stringify(html)}`
    return html
}